import Vue from 'vue'
import Router from 'vue-router'
import SettingDetail from '@/components/setting/Detail'
import SettingHeader from '@/components/setting/Header'
import SettingSidebar from '@/components/setting/Sidebar'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      components: {
          myHeader: SettingHeader,
          mySidebar: SettingSidebar,
          myDetail: SettingDetail
      }
  }
  ]
})
